package com.cloudfun.campusshare.common.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by Huqin on 2020/5/13
 */
@Data
@ApiModel("权限简单列表VO")
public class AuthoritySimpleListVO {

    private String id;

    private String key;

    @ApiModelProperty("权限名")
    private String cnName;

    @ApiModelProperty("权限名")
    private String title;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("父级id")
    private String parentId;

    @ApiModelProperty("下级权限")
    private List<AuthoritySimpleListVO> children;

}
